<div class="navbar navbar-fixed-top">
  <div class="navbar-inner">
    <div class="container" style="width: auto;">

      <a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </a>
      <div class="nav-collapse">

        <?php  //echo link_to(__('Stock'), '@main', array('class' => 'brand')); ?>

        <ul class="nav">

          <?php if($sf_user->isSuperAdmin()): ?>
          
            <li class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">Usuarios<b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><?php  echo link_to(__("<i class='icon-th-list'></i> Listado"), '@sf_guard_user'); ?></li>
                <li><?php  echo link_to(__("<i class='icon-plus-sign'></i> Nuevo"), '@sf_guard_user_new'); ?></li>
              </ul>
            </li>
        
          <?php endif?>

          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Torneos<b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><?php  echo link_to(__("<i class='icon-th-list'></i> Listado"), '@tournament'); ?></li>
              <li><?php  echo link_to(__("<i class='icon-plus-sign'></i> Nuevo"), '@tournament_new'); ?></li>
            </ul>
          </li>

          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Categorias<b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><?php  echo link_to(__("<i class='icon-th-list'></i> Listado"), '@category'); ?></li>
              <li><?php  echo link_to(__("<i class='icon-plus-sign'></i> Nuevo"), '@category_new'); ?></li>
            </ul>
          </li>

          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Equipos<b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><?php  echo link_to(__("<i class='icon-th-list'></i> Listado"), '@team'); ?></li>
              <li><?php  echo link_to(__("<i class='icon-plus-sign'></i> Nuevo"), '@team_new'); ?></li>
            </ul>
          </li>

          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Canchas<b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><?php  echo link_to(__("<i class='icon-th-list'></i> Listado"), '@field'); ?></li>
              <li><?php  echo link_to(__("<i class='icon-plus-sign'></i> Nueva"), '@field_new'); ?></li>
            </ul>
          </li>

          <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Jugadores<b class="caret"></b></a>
            <ul class="dropdown-menu">
              <li><?php  echo link_to(__("<i class='icon-th-list'></i> Listado"), '@person'); ?></li>
              <li><?php  echo link_to(__("<i class='icon-plus-sign'></i> Nuevo"), '@person_new'); ?></li>
            </ul>
          </li>
        </ul>

        <ul class="nav pull-right">
          <li id="fat-menu" class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <?php echo $sf_user->getUsername();  ?>
              <b class="caret"></b>
            </a>
            <ul class="dropdown-menu">
              <li><?php  echo link_to(__("<i class='icon-off'></i> Salir"), '@sf_guard_signout'); ?></li>
            </ul>
          </li>
        </ul>

      </div>
    </div>
  </div>
</div>
